.class public final Lcom/baidu/crabsdk/b/c;
.super Ljava/lang/Object;


# static fields
.field private static aT:Ljava/lang/Thread;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public static d(Landroid/content/Context;)V
    .locals 1

    const-string v0, "===Anr init!==="

    invoke-static {v0}, Lcom/baidu/crabsdk/c/a;->s(Ljava/lang/String;)I

    invoke-static {}, Lcom/baidu/crabsdk/sender/f;->Y()Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "===Anr watchThread start!==="

    invoke-static {v0}, Lcom/baidu/crabsdk/c/a;->s(Ljava/lang/String;)I

    :try_start_0
    new-instance v0, Lcom/baidu/crabsdk/sender/b;

    invoke-direct {v0, p0}, Lcom/baidu/crabsdk/sender/b;-><init>(Landroid/content/Context;)V

    sput-object v0, Lcom/baidu/crabsdk/b/c;->aT:Ljava/lang/Thread;

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-void

    :catch_0
    const-string p0, "Anr watchThread start failed !!"

    invoke-static {p0}, Lcom/baidu/crabsdk/c/a;->v(Ljava/lang/String;)I

    :cond_0
    return-void
.end method

.method public static s()Ljava/lang/Thread;
    .locals 1

    sget-object v0, Lcom/baidu/crabsdk/b/c;->aT:Ljava/lang/Thread;

    return-object v0
.end method
